package com.wh.wisdomsite.xbox.vi.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/***
 *视频监控模块-视频设备项目路配置表
 * @author 杨世强
 * @date 11:34 2018/8/2
 * @Copyright 公司版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2016
 * @version V1.0
 */
@TableName("vi_videoProject")
public class VideoProject extends Model<VideoProject> {

    /**
     * 项目视频ID
     */
    @TableId(type = IdType.UUID)
    private String vpId;
    /**
     * 项目ID
     */
    @TableField("prId")
    private String prId;
    /**
     * 项目视频设备名称
     */
    @TableField("vpName")
    private String vpName;
    /**
     * 视频设备编号
     */
    @TableField("deviceId")
    private String deviceId;
    /**
     * 描述
     */
    @TableField("description")
    private String description;
    /**
     * 负责人
     */
    @TableField("principal")
    private String principal;
    /**
     * 负责人电话
     */
    @TableField("principalTel")
    private String principalTel;

    /**
     * 用户名
     */
    @TableField("viUserName")
    private String viUserName;

    /**
     * 密码
     */
    @TableField("viPassword")
    private String viPassword;

    /**
     * ip地址
     */
    @TableField("videoIp")
    private String videoIp;

    /**
     * 设备序列号
     */
    @TableField("deviceSerialNum")
    private String deviceSerialNum;
    /**
     * 布点位置
     */
    @TableField("distributionLocation")
    private String distributionLocation;
    /**
     * 布点经度
     */
    @TableField("longitude")
    private Double longitude;
    /**
     * 布点纬度
     */
    @TableField("latitude")
    private Double latitude;

    /**
     * 视频插件地址
     */
    @TableField("videoUrl")
    private String videoUrl;

    /**
     * 流媒体地址
     */
    @TableField("videoMu38Url")
    private String videoMu38Url;

    /**
     * 在线状态,1:在线 2:离线
     */
    @TableField("onLineStatus")
    private Integer onLineStatus;
    /**
     * 创建者
     */
    @TableField("createBy")
    private String createBy;
    /**
     * 创建时间
     */
    @TableField("createDate")
    private Date createDate;

    @TableField(exist = false)
    private String createDateFormat;

    /**
     * 更新者
     */
    @TableField("updateBy")
    private String updateBy;
    /**
     * 更新时间
     */
    @TableField("updateDate")
    private Date updateDate;
    /**
     * 数据状态
     * 1:正常 2:已删除
     */
    @TableField("dataState")
    private Integer dataState;
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;
    /**
     * 视频用户
     */
    @TableField("userUuid")
    private String userUuid;


    public String getVpId() {
        return vpId;
    }

    public void setVpId(String vpId) {
        this.vpId = vpId;
    }

    public String getPrId() {
        return prId;
    }

    public void setPrId(String prId) {
        this.prId = prId;
    }

    public String getVpName() {
        return vpName;
    }

    public void setVpName(String vpName) {
        this.vpName = vpName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getViUserName() {
        return viUserName;
    }

    public void setViUserName(String viUserName) {
        this.viUserName = viUserName;
    }

    public String getViPassword() {
        return viPassword;
    }

    public void setViPassword(String viPassword) {
        this.viPassword = viPassword;
    }

    public String getVideoIp() {
        return videoIp;
    }

    public void setVideoIp(String videoIp) {
        this.videoIp = videoIp;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public String getPrincipalTel() {
        return principalTel;
    }

    public void setPrincipalTel(String principalTel) {
        this.principalTel = principalTel;
    }

    public String getDeviceSerialNum() {
        return deviceSerialNum;
    }

    public void setDeviceSerialNum(String deviceSerialNum) {
        this.deviceSerialNum = deviceSerialNum;
    }

    public String getDistributionLocation() {
        return distributionLocation;
    }

    public void setDistributionLocation(String distributionLocation) {
        this.distributionLocation = distributionLocation;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getVideoMu38Url() {
        return videoMu38Url;
    }

    public void setVideoMu38Url(String videoMu38Url) {
        this.videoMu38Url = videoMu38Url;
    }

    public Integer getOnLineStatus() {
        return onLineStatus;
    }

    public void setOnLineStatus(Integer onLineStatus) {
        this.onLineStatus = onLineStatus;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateDateFormat() {
        return createDateFormat;
    }

    public void setCreateDateFormat(String createDateFormat) {
        this.createDateFormat = createDateFormat;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    @Override
    protected Serializable pkVal() {
        return this.vpId;
    }
}
